import Vue from 'vue'
//使用import 引入vant组件注意
// npm install babel-plugin-import
// 然后在 .babelrc 中配置
/**
 "plugins": ["transform-vue-jsx", "transform-runtime",	["import", {
    "libraryName": "vant",
    "libraryDirectory": "es",
    "style": true
     }]
  ] 
 */

import {
  NavBar,
  Uploader,
  Form,
  Button,
  Field,
  Radio,
  RadioGroup,
  Toast,
  Tabbar, 
  TabbarItem,
  List,
  Cell,
  ImagePreview,
  Progress
} from 'vant'

Vue.use(NavBar)
Vue.use(Uploader)
Vue.use(Form)
Vue.use(Button)
Vue.use(Field)
Vue.use(Radio)
Vue.use(RadioGroup)
Vue.use(Toast)
Vue.use(Tabbar)
Vue.use(TabbarItem)
Vue.use(List)
Vue.use(Cell)
Vue.use(ImagePreview)
Vue.use(Progress)
